<div id="content">
<div id="slide-wrapper">
      <ul id="slider">
       {foreach $list_product as $product}
        <li>
        <a class="image" href="/{$product.category_alias}/{$product.alias}.html" title="{$product.title}">
          <div class="border_on_img"></div>
          <div class="content_slider">
            <p>{$product.name}</p>
          </div>
          
            <img src="/upload/product/{$product.day_time|date_format:'%m-%Y'}/{$product.image}" alt="{$product.name}" /> 
          </a>
          </li>
         {/foreach}
        
      </ul>
    </div>
    <div class="banner">
      <div><a href="specials.html"><img src="/templates/images/small-banner-green-225x161.png" alt="" title="" /></a> </div>
    </div>
    <div class="banner">
      <div><img src="/templates/images/small-banner-blue-225x161.png" alt="" title="" /> </div>
    </div>
    <div class="box">
      <div>
        <h1 class="title_module"><span>Sản phẩm mới nhất</span></h1>
        <div class="box-content">
          {foreach $list_product as $product}
          <div class="box-product"> <a class="image" href="/{$product.category_alias}/{$product.alias}.html" title="{$product.title}">
              <input type="hidden" value="{$product.alias}" name="data[id]" />
              <input type="hidden" value="1" name="data[quantity]" /> 
          <img src="/upload/product/{$product.day_time|date_format:'%m-%Y'}/{$product.image}" alt="{$product.name}" style="width:100%;height:200px" /> {if $product.price_old != 0} <span class="new">Sale</span> {/if} </a>
            <h3 class="name"><a href="/{$product.category_alias}/{$product.alias}" title="{$product.title}">{$product.name}</a></h3>
            <p class="wrap_price"> {if $product.price_old != 0} <span class="price-old">{number_format($product.price_old)}&nbsp;VNĐ</span> {/if}<span class="price-new" style="text-align:center !important;">{number_format($product.price_new)}VNĐ</span> </p>
          </div>
          {/foreach}
        </div>
      </div>
    </div>
    <div class="clear"></div>
    <div class="box">
      <div>
        <h1 class="title_module"><span>Sản phẩm đặc biệt</span></h1>
        <div class="box-content">
         {foreach $list_product as $product}
      <form method="post" action="/orders/cart_sm.php" enctype="multipart/form-data">
          <div class="box-product"> <a class="image" href="/{$product.category_alias}/{$product.alias}.html" title="{$product.title}"> 
                      <input type="hidden" value="{$product.alias}" name="data[id]" />
              <input type="hidden" value="1" name="data[quantity]" /> 
          <img src="/upload/product/{$product.day_time|date_format:'%m-%Y'}/{$product.image}" style="width:100%;height:200px" title="{$product.title}" alt="{$product.name}" /> {if $product.price_old != 0}<span class="new">Sale</span>{/if} </a>
            <h3 class="name"><a href="/{$product.alias}/{$product.alias}/" title="{$product.title}">{$product.name}</a></h3>
            <p class="wrap_price"> {if $product.price_old != 0}<span class="price-old">{number_format($product.price_old)}&nbsp;VNĐ</span>{/if} <span class="price-new" style="text-align:center !important;">{number_format($product.price_new)}VNĐ</span> </p>
            
          </div>
        </form>
          {/foreach}
          
        </div>
      </div>
    </div>
    <div class="clear"></div>
    <div class="box">
      <div>
        <h1 class="title_module"><span>Sản phẩm nổi bật</span></h1>
        <div class="box-content">
         {foreach $list_product as $product}
             {if $product.highlights == 1}
             <form method="post" action="/orders/cart_sm.php" enctype="multipart/form-data">
              <div class="box-product"> <a class="image" href="/{$product.category_alias}/{$product.alias}.html" title="{$product.title}"> 
              <input type="hidden" value="{$product.alias}" name="data[id]" />
              <input type="hidden" value="1" name="data[quantity]" /> 
              <img src="/upload/product/{$product.day_time|date_format:'%m-%Y'}/{$product.image}" style="width:100%;height:200px" alt="{$product.name}" /> </a>
                <h3 class="name"><a href="/products/detail.php?id={$product.alias}" title="{$product.title}">{$product.name}</a></h3>
                <p class="wrap_price"> {if $product.price_old != 0} <span class="price-old">{number_format($product.price_old)}&nbsp;VNĐ</span> {/if}<span class="price-new" style="text-align:center !important;">{number_format($product.price_new)}VNĐ</span> </p>
                
              </div>
              </form>
              {/if}
          {/foreach}
          
          
          
          
        </div>
      </div>
    </div>
    <div class="clear"></div>
    
    <div id="carousel">
    
      <ul class="jcarousel-skin-tfc">
       {foreach $read_rand as $product}
        <li><a href="/{$product.category_alias}/{$product.alias}.html"><img src="/upload/product/{$product.day_time|date_format:'%m-%Y'}/{$product.image}" style="width:85px;height:85px" alt="{$product.name}" title="{$product.title}" /></a></li>
        {/foreach}
      </ul>
       
    </div>
   
 
  
  <!-- InstanceEndEditable -->
</div>
  
